﻿@model DemoPlena.Dominio.Usuario

@{
    ViewBag.Title = "Logar";
}

<h2>Cadastrar</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Usuario</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Senha)
        </div>
         <div class="editor-field">
            @Html.EditorFor(model => model.Senha)
            @Html.ValidationMessageFor(model => model.Senha)
        </div>

        <p>
            <input type="submit" value="Entrar" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("VOLTAR", "Index","Home")
</div>

@*@section Scripts {*@
@*    @Scripts.Render("~/bundles/jqueryval")*@
@*}*@
